<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>测试向原生发消息</title>
	</head>
	<body>
	<button style="position: absolute;top: 50%;left: 50%;" onclick="phoneAction()"> 打电话
		</button>
	<script>
		function phoneAction(){
			window.webkit.messageHandlers.phone.postMessage("13212312312")
		}
	</script>
	</body>
</html>
